#ifndef COMPUTERPLAY_H
#define COMPUTERPLAY_H

#include <QObject>
#include <QPoint>

class DotController;

class ComputerPlay : public QObject
{
Q_OBJECT
Q_PROPERTY(QPoint pos READ pos WRITE setPos)
public:
    ComputerPlay(DotController *pController, QObject *parent = 0);


public:
    void setPos(const QPoint &p);
    QPoint pos()const;

signals:
    void positionChanged();

public slots:

private:
    DotController *mpController;
    QPoint mptPos;
};

#endif // COMPUTERPLAY_H
